<?php
/* @var $this SiteController */
/* @var $model LoginForm */
/* @var $form CActiveForm  */

$this->pageTitle=Yii::app()->name . ' - Login';
$this->breadcrumbs=array(
	'Login',
);
?>

<div class="form">
<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'login-form',
	'htmlOptions' => array(
		'name' => 'loginform'
	),
	'enableClientValidation'=>false,
	'clientOptions'=>array(
		'validateOnSubmit'=>false,
	),
)); ?>

<!--	<p class="note">Fields with <span class="required">*</span> are required.</p>-->
	<div class="form_header">Authorisation</div>
	<div class="form_row">
		<?php echo $form->label($model,'username'); ?>
		<?php echo $form->textField($model,'username'); ?>
		<?php // echo $form->error($model,'username'); ?>
	</div>

	<div class="form_row">
		<?php echo $form->label($model,'password'); ?>
		<?php echo $form->passwordField($model,'password'); ?>
		<?php // echo $form->error($model,'password'); ?>
<!--		<p class="hint">
			Hint: You may login with <kbd>demo</kbd>/<kbd>demo</kbd> or <kbd>admin</kbd>/<kbd>admin</kbd>.
		</p>-->
	</div>

<!--	<div class="row rememberMe">
		<?php // echo $form->checkBox($model,'rememberMe'); ?>
		<?php // echo $form->label($model,'rememberMe'); ?>
		<?php // echo $form->error($model,'rememberMe'); ?>
	</div>-->

<!--	<div class="form_row buttons">
		<?php // echo CHtml::linkButton('Login'); ?>
	</div>-->
<div class="clear"></div>
	<div class="login_form_links">
		<div><a href="#">Forgot Password?</a></div>
		<div><a href="#">Register Now!</a></div>
	</div>

	<div class="submit_container">
		<div class="menu_button">
			<span class="login_button"><a href="#" onclick="document.loginform.submit(); return false;">Login</a></span>
		</div>
	</div>
<!--	<input type="submit" class="submit_button" name="yt0" value="Login"/>-->

<?php $this->endWidget(); ?>
</div><!-- form -->
